namespace MyChromelyApp1.Models
{
    /// <summary>
    /// 封装响应数据的类
    /// </summary>
    public class ResData
    {
        public ResData()
        {

        }
        public ResData(int code)
        {
            this.code = code;
        }

        public ResData(int code, string msg)
        {
            this.code = code;
            this.msg = msg;
        }

        public ResData(int code, string msg, dynamic data)
        {
            this.code = code;
            this.msg = msg;
            this.data = data;
        }

        public int code { get; set; }
        public string msg { get; set; } = "";
        public dynamic data { get; set; } = null;

    }
}
